package com.llws.petgoodsshop.bean;

import java.io.Serializable;

/**
 *
 * @TableName goods
 */
public class Goods implements Serializable {
    /**
     *
     */
    private Integer goodsId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 分类id
     */
    private Type type;

    /**
     * 商品图片
     */
    private String goodsPic;

    /**
     * 描述
     */
    private String depict;

    /**
     * 价格
     */
    private Double price;

    /**
     * 生产日期
     */
    private String productionData;

    /**
     * 0：已删除，1：未删除，默认为1
     */
    private Integer delFlag;

    /**
     * 状态，0-默认，1-上架，2-下架
     */
    private Integer status;

    private static final long serialVersionUID = 1L;

    public Goods() {

    }

    /**
     *
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "goodsId=" + goodsId +
                ", goodsName='" + goodsName + '\'' +
                ", type=" + type +
                ", goodsPic='" + goodsPic + '\'' +
                ", depict='" + depict + '\'' +
                ", price=" + price +
                ", productionData='" + productionData + '\'' +
                ", delFlag=" + delFlag +
                ", status=" + status +
                '}';
    }

    /**
     *
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 商品名称
     */
    public String getGoodsName() {
        return goodsName;
    }

    /**
     * 商品名称
     */
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    /**
     * 商品图片
     */
    public String getGoodsPic() {
        return goodsPic;
    }

    /**
     * 商品图片
     */
    public void setGoodsPic(String goodsPic) {
        this.goodsPic = goodsPic;
    }

    /**
     * 描述
     */
    public String getDepict() {
        return depict;
    }

    /**
     * 描述
     */
    public void setDepict(String depict) {
        this.depict = depict;
    }

    /**
     * 价格
     */
    public Double getPrice() {
        return price;
    }

    /**
     * 价格
     */
    public void setPrice(Double price) {
        this.price = price;
    }

    /**
     * 生产日期
     */
    public String getProductionData() {
        return productionData;
    }

    /**
     * 生产日期
     */
    public void setProductionData(String productionData) {
        this.productionData = productionData;
    }

    /**
     * 0：已删除，1：未删除，默认为1
     */
    public Integer getDelFlag() {
        return delFlag;
    }

    /**
     * 0：已删除，1：未删除，默认为1
     */
    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Goods(Integer goodsId, String goodsName, Type type, String goodsPic, String depict, Double price, String productionData, Integer delFlag,Integer status) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.type = type;
        this.goodsPic = goodsPic;
        this.depict = depict;
        this.price = price;
        this.productionData = productionData;
        this.delFlag = delFlag;
        this.status = status;
    }
}